package com.gec.dao;

import java.sql.SQLException;
import java.util.List;

import com.gec.model.Lodger;

public interface LodgerDao {
	void saveLodger( Lodger lodger ) 
			throws SQLException;
		
	int getLodgerCount() throws SQLException;

	List<Lodger> getLodgerList(
		int page, int pageSize ) 
		throws SQLException;
	
	Lodger getLodgerById(String id, boolean flag) 
		throws SQLException;
	
	void updateLodger(Lodger lodger)
		throws SQLException;

	void delLodger(String id)
		throws SQLException;
	
	List<Lodger> getAllLodgerList()
		throws SQLException;
}
